#	$OpenBSD: RAMDISK-IP22,v 1.14 2015/07/17 22:52:29 tedu Exp $
#
# THIS KERNEL IS FOR INDIGO (IP20), INDY (IP22) AND INDIGO2 (IP24) SYSTEMS ONLY.

machine		sgi mips64
maxusers	4

option		TIMEZONE=0
option		DST=0
option		SMALL_KERNEL
option		NO_PROPOLICE
option		BOOT_CONFIG

option		MINIROOTSIZE=10240
option		RAMDISK_HOOKS

option		EISAVERBOSE
option		PCIVERBOSE

option		FFS
option		CD9660
option		NFSCLIENT
option		INET6

makeoption	LINK_ADDRESS="0xffffffff88800000"
# Force use of 16KB pages. The R5000 Indy, which has the infamous XKPHYS
# coherency bug wrt ll/sc instructions, can not have more than 256MB of
# physical memory, all of it fitting within CKSEG0.
option		PAGE_SHIFT="14"
option		TGT_INDIGO		# R4x00 Indigo (IP20)
option		TGT_INDIGO2		# Indigo2, Challenge M (IP22)
option		TGT_INDY		# Indy, Challenge S (IP24)
option		ARCBIOS			# mandatory
option		CPU_R4000		# R4000/R4400 support (IP20/IP22/IP24)
option		CPU_R4600		# R4600 support (IP22/IP24)
option		CPU_R5000		# R5000 support (IP24)

config		bsd root on rd0a swap on rd0b

mainbus0	at root
cpu*		at mainbus0
clock0		at mainbus0		# scheduling clock on Indy

int0		at mainbus0		# Interrupt Controller and scheduling clock
imc0		at mainbus0		# Memory Controller
gio0		at imc0
eisa0		at imc0

hpc0		at gio? addr 0x1fb80000
hpc1		at gio? addr 0x1fb00000
hpc2		at gio? addr 0x1f980000

dpclock0	at hpc0			# IP20
dsclock0	at hpc0			# IP22/24
sq*		at hpc?			# On-board Ethernet or E++ adapter
wdsc*		at hpc?			# On-board SCSI or GIO32 SCSI adapter
pckbc*		at hpc0			# Indy/Indigo2 keyboard and mouse

zs0		at hpc0
zs1		at hpc0
zstty*		at zs0			# Serial ports
zskbd*		at zs1 channel 0
wskbd*		at zskbd? mux 1

pckbd*		at pckbc?
wskbd*		at pckbd? mux 1

grtwo*		at gio?			# Express (GR2/GR3) graphics
wsdisplay*	at grtwo?
impact*		at gio?			# Impact graphics
wsdisplay*	at impact?
light*		at gio?			# Light/Starter/Entry (LG1/LG2) graphics
wsdisplay*	at light?
newport*	at gio?			# Indy Newport and Indigo2 XL graphics
wsdisplay*	at newport?

giopci*		at gio?
pci*		at giopci?

scsibus*	at scsi?
sd*		at scsibus?
st*		at scsibus?
cd*		at scsibus?

pseudo-device	loop 1
pseudo-device	bpfilter 1
pseudo-device	rd 1
pseudo-device	bio 1
